/*
 * Copyright 2003-2005 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */

#ifndef TYPEHELPER_H_
#define TYPEHELPER_H_

#ifdef __cplusplus
extern "C" {
#endif



bool type_helper_structure_matches( reference_type_map * coreMap, type_element * definition1, type_buffer * definition2 );

bool type_helper_element_matches( reference_type_map * core, type_element * definition1, type_element * definition2 );

type_buffer * type_helper_resolve_structure( reference_type_map * refMap, type_element * definition );

bool type_helper_is_same( type_map * map, int id, type_name * name, type_buffer * structure, reference_type_map * coreMap );

type_element * type_helper_read_structure( type_map * map, reference_type_map * core, type_buffer * structure );


#ifdef __cplusplus
}
#endif



#endif

